package cn.fintecher.pangolin.service.manage.model;

import cn.fintecher.pangolin.common.annotation.ExcelAnno;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;

import java.util.Date;

/**
 * @Auther: xiaqun
 * @Description: 催记添加字段
 * @Date: 10:07 2019/9/16
 */

@Data
public class FollowRecordFieldModel {

    @ApiModelProperty(value = "跟进内容")
    @ExcelAnno(cellName = "跟进内容", fieldType = ExcelAnno.FieldType.TEXTAREA)
    private String content;

    @ApiModelProperty(value = "联络对象/外访对象")
    @ExcelAnno(cellName = "联络对象/外访对象", fieldDataType = ExcelAnno.FieldDataType.STRING, fieldType = ExcelAnno.FieldType.INPUT)
    private String name;

    @ApiModelProperty(value = "与之关系/查找对象")
    @ExcelAnno(cellName = "与之关系/查找对象", fieldType = ExcelAnno.FieldType.SELECT)
    private String relation;

    @ApiModelProperty(value = "号码类型")
    @ExcelAnno(cellName = "号码类型", fieldType = ExcelAnno.FieldType.SELECT)
    private String phoneType;

    @ApiModelProperty(value = "联络电话")
    @ExcelAnno(cellName = "联络电话", fieldDataType = ExcelAnno.FieldDataType.STRING, fieldType = ExcelAnno.FieldType.INPUT)
    private String contactPhone;

    @ApiModelProperty(value = "号码状态")
    @ExcelAnno(cellName = "号码状态", fieldType = ExcelAnno.FieldType.SELECT)
    private String contactStatus;

    @ApiModelProperty(value = "联络结果")
    @ExcelAnno(cellName = "联络结果", fieldType = ExcelAnno.FieldType.SELECT)
    private String contactResult;

    @ApiModelProperty(value = "承诺还款日期")
    @ExcelAnno(cellName = "承诺还款日期", fieldType = ExcelAnno.FieldType.DATEPICKER)
    @Field(type = FieldType.Date)
    private Date promiseDate;

    @ApiModelProperty(value = "承诺还款金额")
    @ExcelAnno(cellName = "承诺还款金额", fieldDataType = ExcelAnno.FieldDataType.DOUBLE, fieldType = ExcelAnno.FieldType.INPUT)
    private Double promiseAmt;

    @ApiModelProperty(value = "下次跟进日期")
    @ExcelAnno(cellName = "下次跟进日期", fieldType = ExcelAnno.FieldType.DATEPICKER)
    @Field(type = FieldType.Date)
    private Date follNextDate;

    @ApiModelProperty(value = "地址状态")
    @ExcelAnno(cellName = "地址状态", fieldType = ExcelAnno.FieldType.SELECT)
    private String addrStatus;

    @ApiModelProperty(value = "地址类型")
    @ExcelAnno(cellName = "地址类型", fieldType = ExcelAnno.FieldType.SELECT)
    private String addrType;


//    @ApiModelProperty(value = "要点标记")
//    @ExcelAnno(cellName = "要点标记", fieldType = ExcelAnno.FieldType.RADIO)
//    private String isImportant;
//
//    @ApiModelProperty(value = "外访员")
//    @ExcelAnno(cellName = "外访员", fieldDataType = ExcelAnno.FieldDataType.STRING, fieldType = ExcelAnno.FieldType.INPUT)
//    private String outCollector;
//
//    @ApiModelProperty(value = "详细地址")
//    @ExcelAnno(cellName = "详细地址", fieldType = ExcelAnno.FieldType.TEXTAREA)
//    private String detail;
//
//    @ApiModelProperty(value = "信息更新")
//    @ExcelAnno(cellName = "信息更新", fieldType = ExcelAnno.FieldType.SELECT)
//    private String isUpdate;
//
//    @ApiModelProperty(value = "查找时间")
//    @ExcelAnno(cellName = "查找时间", fieldType = ExcelAnno.FieldType.DATEPICKER)
//    @Field(type = FieldType.Date)
//    private Date findDate;
//
//    @ApiModelProperty(value = "查找方式")
//    @ExcelAnno(cellName = "查找方式", fieldType = ExcelAnno.FieldType.SELECT)
//    private String findWay;
//
//    @ApiModelProperty(value = "是否有效")
//    @ExcelAnno(cellName = "是否有效", fieldType = ExcelAnno.FieldType.SELECT)
//    private String isEffective;
//
//    @ApiModelProperty(value = "查找记录")
//    @ExcelAnno(cellName = "查找记录", fieldType = ExcelAnno.FieldType.TEXTAREA)
//    private String findRecord;
//
//    @ApiModelProperty(value = "其他日期")
//    @ExcelAnno(cellName = "其他日期", fieldType = ExcelAnno.FieldType.DATEPICKER)
//    @Field(type = FieldType.Date)
//    private Date otherDate;
//
//    @ApiModelProperty(value = "其他方式")
//    @ExcelAnno(cellName = "其他方式", fieldType = ExcelAnno.FieldType.SELECT)
//    private String otherWay;
//
//    @ApiModelProperty(value = "其他记录")
//    @ExcelAnno(cellName = "其他记录", fieldType = ExcelAnno.FieldType.TEXTAREA)
//    private String otherRecord;
}
